package cn.jstars.datatocloud;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import cn.jstars.datatocloud.common.utils.SpringUtil;
import cn.jstars.datatocloud.main.Main;
import cn.jstars.datatocloud.modules.monitor.task.MonitorTask;

/**
 * 程序主入口
 * 
 * @author Elvish
 *
 */
@SpringBootApplication
public class DataToCloudApplication {

	private static final Logger LOGGER = LoggerFactory.getLogger(MonitorTask.class);

	public static void main(String[] args) {
		SpringApplication.run(DataToCloudApplication.class, args);
		Main main = SpringUtil.getBean(Main.class);
		main.start();
	}
}
